package com.secsbrain.cmdb.biz.constant;

/**
 * 对枚举数据的定义
 * 
 * @author zhaoyi
 *
 */
public class EnumDefinition {
    
    /**
     * 审批状态
     * @author     zhaoyi
     */
    public enum ApprovalStatus {

        AGREE(1,"同意"),
        ABANDON(2,"废弃"),
        REFUSE(0,"拒绝");
        
        private Integer code;
        private String desc;
        
        ApprovalStatus(Integer code,String desc){
            this.code=code;
            this.desc=desc;
        }
        
        public Integer getCode(){
            return this.code;
        }
        public String getDesc(){
            return this.desc;
        }
    }
    
}
